FROM registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nodejs:18.20.8
LABEL author=xiaoyilin
LABEL email=406735078@qq.com
# 安装TypeScript
RUN  npm i lora-packet -g --registry=https://registry.npmmirror.com
# 设置默认挂载目录
VOLUME /root/lora
WORKDIR /root/lora
CMD ["node","index.js"]

# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lora:0.9.2 .
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lora:0.9.2
# docker run --rm registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lora:0.9.2
# docker run --rm -it -v /mnt/d/wsl/tt:/root/lora registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lora:0.9.2 bash